package com.qqtech.qquan.order.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.order.model.*;

public interface OrderItemDao extends BaseDao<OrderItem> {

	/**
	 * 后台查询 --分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<OrderItemVo> queryPageList4Admin(OrderItemQuery query, Pageable pageable);

	/**
	 * 后台查询 --列表
	 * @param query
	 * @param pageable
	 * @return
	 */
	public List<OrderItemVo> queryList4Admin(OrderItemQuery query, Pageable pageable);

	/**
	 * 后台-用户列表-数量查询
	 * @param query
	 * @return
	 */
	public int queryCount4Admin(OrderItemQuery query);
}
